home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 14827 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.0 KB

  1. Path: seas.gwu.edu!salem
  2. From: salem@seas.gwu.edu (Salem A. Oumera)
  3. Newsgroups: comp.lang.c++
  4. Subject: Problem closing windows.  Help!
  5. Date: 2 Apr 1996 06:08:52 GMT
  6. Organization: George Washington University
  7. Message-ID: <4jqg9k$8vc@cronkite.seas.gwu.edu>
  8. NNTP-Posting-Host: 128.164.9.3
  9. X-Newsreader: TIN [version 1.2 PL2]
  10.  
  11. Hi Everyone,
  12.  
  13. I am a new programmer to C++ and I am using Borland C++ 4.5.  I am trying to
  14. close a window and then display another, but it won't close the window first.
  15.  
  16. Basically, I am using the following command to display an window of info:
  17.         TDialog(this, IDD_DialogName).Execute();
  18.  
  19. This works fine, but when I try to open another window using the same command
  20. the program just freezes.  I try to close the window first, using the 
  21. CloseWindow function, but apparantly I am doing something wrong.  I have used
  22. several reference books, but no real luck.
  23.  
  24. If anyone can help me out, I would really appreciate it.  This simple problem
  25. is getting really frustrating.  Thanks ahead of time.
  26.  
  27. Montana   
  28.